﻿using strange.extensions.command.impl;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ChangeMultipleCommand : EventCommand
{

    [Inject]
    public IntegralModel IntegralModel { get; set; }

    //发过来信号，这边就进行操作
    public override void Execute()
    {
        //改model
        //因为派发的时候有个参数，需要接收一下，使用evt来充当
        IntegralModel.Multiple *= (int)evt.data;

        //添加面板
        ToolsClass.CreateUIContext(PanelType.CharacterPanel);
        ToolsClass.CreateUIContext(PanelType.InteractionPanel);

    }


}
